# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Konstantin Gizdov <arch at kge dot pw>
# Contributor: Oliver Harley <oliver.r.harley+aur (at) gmail.com>
_pkgname=Keras_Applications
pkgname=python-keras-applications
pkgver=1.0.8
pkgrel=9
pkgdesc="Applications module of the Keras deep learning library"
arch=('any')
url="https://pypi.org/project/Keras-Applications/"
license=('MIT')
makedepends=('python-setuptools')
depends=('python' 'python-numpy')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('5579f9a12bcde9748f4a12233925a59b93b73ae6947409ff34aa2ba258189fe5')

build() {
  cd "$srcdir/${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "$srcdir/${_pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}"/ --optimize=1
}
